ALL EDITORS V434 — NATIVE CHARACTER DIRECTORY RENAME AT LOGIN

Fix for V433: BG2 does not finish populating the Import file list before the
Lua callback returns. V433 renamed the account folder back too early, so
Import showed only the built-in characters. In other cases Lua's filesystem
API was unavailable and the name swap did not happen at all.

V434 uses the existing Python account router, already installed by
SETUP_IN_GAME_ACCOUNTS, to perform an actual filesystem rename AFTER verified
login and BEFORE acknowledging the login to BG2:

  Documents/BaldursGate2Online/characters/ -> account system/parked/
  Documents/BaldursGate2Online/<accountname>/ -> characters/

The native BG2 Import and Export controls continue to use characters/ for
THE ENTIRE LOGGED-IN SESSION. There is no Lua filesystem dependency, no
transient swap that reverses too soon, and no CHR copy/mirror.

On normal logout or after all BG2 processes have closed, the account router or
exit watcher restores:

  characters/ -> <accountname>/
  account system/parked/ -> characters/

The preexisting characters directory is parked without changing its contents.
The account CHR/BIO and subfolders are moved as ONE DIRECTORY, never copied.
Existing directories are never overwritten; a failed collision rejects login
instead of exposing another account. An interrupted rename retains the existing
active/parked journal for closed-game recovery. Never manually rename while
BG2 is running. The normal Export Finish remains the native BG2 export.

INSTALL
1. Exit BG2 entirely (all BaldurII.exe/InfinityLoader game instances).
2. Extract ZIP; run All Editors/SETUP_IN_GAME_ACCOUNTS.bat.
3. Select the actual game installation and BaldursGate2Online profile
   containing Baldur.lua.
4. Login as Drakhysys; check that characters/ now contains Drakhysy.chr
   and the inactive Drakhysys directory is absent while logged in.
5. Import/Export normally. Exit to restore Drakhysys directory.

LIMITATION: Windows BG2 runtime has not been tested from this environment.
Some in-use Windows directory handles may delay the logout rename until all
BG2 processes close. Only ONE account can own characters/ per shared BG2
profile at a time; other accounts must use a different profile while it is
mounted. This is inherent to the physical rename scheme, not a login change.

CHECKS
python -m unittest test_v434_session_mount -v
